package com.joker.orange.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.joker.common.annotation.ExcelDictFormat;
import com.joker.common.convert.ExcelDictConvert;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 提现管理视图对象 t_withdraw_record
 *
 * @author Joker
 * @date 2024-07-31
 */
@Data
@ExcelIgnoreUnannotated
public class WithdrawRecordVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @ExcelProperty(value = "唯一标识")
    private Long id;

    /**
     * 用户ID(代理)
     */
    @ExcelProperty(value = "用户ID(代理)")
    private Long userId;

    /**
     * 代理名称
     */
    @ExcelProperty(value = "代理名称")
    private String userName;

    /**
     * 提现金额
     */
    @ExcelProperty(value = "提现金额")
    private BigDecimal withdrawMoney;

    /**
     * 提现方式（0-ert20、1-trc20、2-银行卡、3-支付宝）
     */
    @ExcelProperty(value = "提现方式", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=-ert20、1-trc20、2-银行卡、3-支付宝")
    private String withdrawType;

    /**
     * 提现二维码
     */
    @ExcelProperty(value = "提现二维码")
    private String withdrawCode;

    /**
     * 是否打款（0-已打款、1-未打款、2-拒绝打款）
     */
    @ExcelProperty(value = "是否打款", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=-已打款、1-未打款、2-拒绝打款")
    private String playMoneyType;

    /**
     * 失败原因
     */
    @ExcelProperty(value = "失败原因")
    private String failMsg;

    /**
     * 打款时间
     */
    @ExcelProperty(value = "打款时间")
    private Date playMoneyTime;

    /**
     * 拒绝时间
     */
    @ExcelProperty(value = "拒绝时间")
    private Date failTime;

    /**
     * 提现次数
     */
    @ExcelProperty(value = "提现次数")
    private Integer withdrawCount;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
